<?php
class PostsModel extends Model {

	protected function get_primary_key() {
		return $this->primary_key = 'post_id';
	}

	protected function get_table_fields() {
		return $this->table_field = array (
  0 => 'post_id',
  1 => 'post_author',
  2 => 'post_type',
  3 => 'post_class',
  4 => 'post_status',
  5 => 'comment_status',
  6 => 'post_title',
  7 => 'post_content',
  8 => 'date_added',
  9 => 'date_modified',
);
	}
}